package games.eightPuzzle.heuristics;

/**
 * @author avishl02
 * this class represents 2D coordinate
 */
public class Coordinate {

	private int _i;
	private int _j;

	public Coordinate(int i,int j){
		_i = i;
		_j = j;
	}
	
	public Coordinate(Coordinate other){
		_i = other._i;
		_j = other._j;
	}
	public int getI(){return _i;}
	public int getJ(){return _j;}
	
	public void setI(int i){_i = i;}
	public void setJ(int j){_j = j;}
}

